﻿<%@ Page Title="" Language="C#" MasterPageFile="~/default-interno.master" AutoEventWireup="true" CodeBehind="especialista.aspx.cs" Inherits="CeA.Reports.Atendimento.Web.admin.especialista" %>
<%@ Register Assembly="CeA.Reports.Atendimento.Web" Namespace="CeA.Reports.Atendimento.Web.ServerControls" TagPrefix="cc1" %>
<%@ Register src="../inc/WebControls/MenuInterno.ascx" tagname="MenuInterno" tagprefix="uc1" %>
<%@ Register src="../inc/WebControls/MessageBox.ascx" tagname="MessageBox" tagprefix="uc2" %>

<asp:Content ID="head" ContentPlaceHolderID="head" runat="server">
  <link rel="Stylesheet" href="/css/popup.css" type="text/css" />
</asp:Content>


<asp:Content ID="filter" ContentPlaceHolderID="FilterContentPlaceholder" runat="server">
  <h2>Dados do Especilista</h2>
  <table cellpadding="1" cellspacing="1">
    <tr>
      <td style="width:80px;"><label for="txtSigla">Sigla</label> </td>
      <td><asp:TextBox ID="txtSigla" runat="server" CssClass="text-field" Width="225px" MaxLength="40"/></td>
    </tr>
    <tr>
      <td><label for="txtNome">Nome</label> </td>
      <td><asp:TextBox ID="txtNome" runat="server" CssClass="text-field" Width="550px" MaxLength="100"/></td>
    </tr>
  </table>

  <span class="break">
    <asp:Button ID="cmdPesquisar" runat="server" CssClass="form-buttom" Text="Pesquisar" />
  </span>

  <asp:DataList ID="dtlEspecilista" runat="server" Width="100%" CellSpacing="1" CellPadding="0">
    <ItemStyle CssClass="cor-1" />
    <AlternatingItemStyle CssClass="cor-2" />
    <HeaderTemplate>
      <table cellpadding="0" cellspacing="0" border="0" style="width: 100%">
        <tr>
          <td colspan="3">
            <h2>Lista de Especialistas</h2>
          </td>
        </tr>
        <tr class="th">
          <td style="width:  21px">&nbsp</td>
          <td style="width: 150px">Sigla</td>
          <td style="width: 350px">Nome </td>
          <td style="width: auto">Usuário</td>
        </tr>
      </table>
    </HeaderTemplate>
    <ItemTemplate>
      <table cellpadding="0" cellspacing="0" style="width: 100%">
        <tr class="list-row">
          <td style="width: 21px">
            <cc1:GroupRadioButton ID="rbtItem" runat="server" GroupName="rfsid" Text='<%#DataBinder.Eval(Container.DataItem, "Id")%>' />
          </td>
          <td style="width: 150px">
            <%#DataBinder.Eval(Container.DataItem, "Sigla")%>
          </td>
          
          <td style="width: 350px">
            <%#DataBinder.Eval(Container.DataItem, "Nome")%>
          </td>
          
          <td style="width: auto">
            <%#DataBinder.Eval(Container.DataItem, "NomeUsuario")%>
          </td>
        </tr>
      </table>
    </ItemTemplate>
    <FooterTemplate>
      <span class="break">
        <asp:Button ID="cmdEditar" runat="server" CssClass="form-buttom" Text="Editar" onclick="cmdEditar_Click" />
        <asp:Button ID="cmdExcluir" runat="server" CssClass="form-buttom" Text="Excluir" onclick="cmdExcluir_Click" />
      </span>
    </FooterTemplate>
  </asp:DataList>

  <uc2:MessageBox ID="MessageBox" runat="server" />
</asp:Content>


<asp:Content ID="menu" ContentPlaceHolderID="MenuInternoPlaceholder" runat="server">
  <uc1:MenuInterno ID="menuInterno" runat="server" Titulo="Ações" />
</asp:Content>
